/**
* @file renorm_custom_tiling.h
 *
 * Copyright (C) 2025. Huawei Technologies Co. Ltd. All rights reserved.
 *
 * This program is distributed in the hope that it will be useful
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 */
#ifndef RENORM_CUSTOM_TILING_H
#define RENORM_CUSTOM_TILING_H
#include <cstdint>

struct RenormCustomTilingData
{
    uint32_t totalLength;  // 输入矩阵元素个数
    uint32_t rawNum;    // 输入矩阵行数
    uint32_t columnNum; // 输入矩阵列数
    uint32_t dataType;  // 数据类型 0:bfloat16 1:half 2:float

    uint32_t tileNum;
    uint32_t blockLength; // 每个块从GM取用的元素个数
    uint32_t tileLength;  // 对齐32bytes后的块的元素个数
    uint32_t alignFlag;  // 每个块是否对齐32bytes，1:对齐 0:不
//    uint32_t lastTileLength;

//    uint32_t formerNum;
//    uint32_t formerLength;
//    uint32_t formerTileNum;
//    uint32_t formerTileLength;
//    uint32_t formerLastTileLength;

    uint32_t tailNum;  // 最后一个核的块数
    uint32_t EvenCore;  // 最后一个核的id
//    uint32_t tailLength;
//    uint32_t tailTileNum;
//    uint32_t tailTileLength;
//    uint32_t tailLastTileLength;



};
#endif